package jw.hospital.mongo.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document("User")
public class User {
    @Id
    private  String id;
    private  String name;
    private  String age;
    private  String email;
    private  String createDate;
}
